{config_load file="$language/lang.conf" section="create_account"}
<div class="boxx">
<div class="b_tit5">
 <div><div><div><h3>{#heading_create_account#}</h3></div></div></div>
</div>
<div class="rcon1">
 <div class="rcon2">
   <div class="rcon3">
{$FORM_ACTION}
{if $error!=''}
<div class="er">{$error}</div>
{/if}
<div class="zx"><span class="r">{#text_must#}</span></div>
<div class="zx">
<table class="table" cellspacing="1">
        <tr>
          <th colspan="2">{#title_personal#}</th>
        </tr>
{if $gender=='1'}
  <tr>
    <td><label for="gender" title="{$ENTRY_GENDER_ERROR}">{#text_gender#}</label></td>
    <td>{$INPUT_MALE}{$INPUT_FEMALE}</td>
  </tr>
  {/if}
  <tr>
    <td><label for="firstname" title="{$ENTRY_FIRST_NAME_ERROR}">{#text_firstname#}</label></td>
    <td>{$INPUT_FIRSTNAME}</td>
  </tr>
{if $secondname=='1'}
  <tr>
    <td>{#text_secondname#}</td>
    <td>{$INPUT_SECONDNAME}</td>
  </tr>
  {/if}
  <tr>
    <td><label for="lastname" title="{$ENTRY_LAST_NAME_ERROR}">{#text_lastname#}</label></td>
    <td>{$INPUT_LASTNAME}</td>
  </tr>
  {if $birthdate=='1'}
  <tr>
    <td><label for="dob" title="{$ENTRY_DATE_OF_BIRTH_ERROR}">{#text_birthdate#}</label></td>
    <td>{$INPUT_DOB}</td>
  </tr>
  {/if}
  <tr>
    <td><label for="email" title="{$ENTRY_EMAIL_ADDRESS_ERROR}">{#text_email#}</label></td>
    <td>{$INPUT_EMAIL}</td>
  </tr>
{if $company=='1'}
        <tr>
          <th colspan="2">{#title_company#}</th>
        </tr>
  <tr>
    <td>{#text_company#}</td>
    <td>{$INPUT_COMPANY}</td>
  </tr>
  {if $vat=='1'}
  <tr>
     <td>{#text_ustid#}</td>
     <td>{$INPUT_VAT}</td>
  </tr>
  {/if}

{/if}
  {if $street_address=='1'}
        <tr>
          <th colspan="2">{#title_address#}</th>
        </tr>
  {/if}
  {if $street_address=='1'}
  <tr>
  <td><label for="address" title="{$ENTRY_STREET_ADDRESS_ERROR}">{#text_street#}</label></td>
    <td>{$INPUT_STREET}</td>
  </tr>
  {/if}
  {if $suburb=='1'}
  <tr>
    <td>{#text_suburb#}</td>
    <td>{$INPUT_SUBURB}</td>
  </tr>
  {/if}
  {if $postcode=='1'}
  <tr>
    <td><label for="postcode" title="{$ENTRY_POST_CODE_ERROR}">{#text_code#}</label></td>
    <td>{$INPUT_CODE}</td>
  </tr>
  {/if}
  {if $city=='1'}
  <tr>
    <td><label for="city" title="{$ENTRY_CITY_ERROR}">{#text_city#}</label></td>
    <td>{$INPUT_CITY}</td>
  </tr>
  {/if}
  {if $state=='1'}
  <tr>
    <td><label for="state" title="{$ENTRY_STATE_ERROR_SELECT}">{#text_state#}</label></td>
    <td><span id="stateXML">{$INPUT_STATE}</span></td>
  </tr>
  {/if}
  {if $country=='1'}
  <tr>
    <td><label for="country" title="{$ENTRY_COUNTRY_ERROR}">{#text_country#}</label></td>
    <td>{$SELECT_COUNTRY}{$SELECT_COUNTRY_NOSCRIPT}</td>
  </tr>
  {/if}
  {if $telephone=='1'}
        <tr>
          <th colspan="2">{#title_contact#}</th>
        </tr>
  {/if}
  {if $telephone=='1'}
  <tr>
    <td><label for="telephone" title="{$ENTRY_TELEPHONE_NUMBER_ERROR}">{#text_tel#}</label></td>
    <td>{$INPUT_TEL}</td>
  </tr>
  {/if}
  {if $fax=='1'}
  <tr>
    <td>{#text_fax#}</td>
    <td>{$INPUT_FAX}</td>
  </tr>
  {/if}
{if $INPUT_CUSTOMERS_EXTRA_FIELDS}
{foreach item=customers_extra_filelds from=$INPUT_CUSTOMERS_EXTRA_FIELDS}
  <tr>
    <td>{$customers_extra_filelds.NAME}:</td>
    <td>{$customers_extra_filelds.VALUE}</td>
  </tr>
{/foreach}
{/if}
</table>
</div>
<div class="sd">
  <span class="r">{$BUTTON_SUBMIT}</span>
</div>
{$FORM_END}
   </div>
 </div>
</div>
<div class="bf"><div><div></div></div></div>
</div>